all: current.pdf

current.pdf: current.ps
	pstopdf current.ps

current.ps: current.dvi
	dvips -t a4 -G0 current.dvi -o current.ps

current.dvi: current.tex bibliography.bib
	latex current
	bibtex current
	latex current
	latex current

showdvi: current.dvi
	xdvi current.dvi&

showps: current.ps
	open current.ps&

showpdf: current.pdf
	open current.pdf&

clean:
	rm -f *.aux *.bbl *.log *.blg *.dvi *.ps
